<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<script type="text/javascript">
			//将字符串分割成数组
			var str = '幸福,树上,幸福果，幸福树,下你,和我';
			var arr = str.split(',');
			document.write(typeof(arr));
		</script>
	</head>
	<body>

	</body>
</html>
